package com.mockcpp.devblog.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Tag(name = "操作接口", description = "操作描述")
@RestController
public class HelloController {

    @Operation(summary = "测试", description = "测试接口")
    @GetMapping(value="/hello")
    public Object hello() {
        return "Hello world!";
    }
}
